 <? 
 
 include('../conn.php');
$qry1 = "SELECT * from users";

$qry = mysql_query($qry1);
$data = array();
$i=1;
while($rows = mysql_fetch_array($qry))
{
	$data[] = array("username" => $rows['username'],
				  "Address" => $rows['address'],
				  "first_name" => $rows['first_name'],
				  "last_name"=> $rows['last_name']
				  );
}
echo json_encode($data);
	
	?>